package org.szy.core.common.prop;

import org.noear.solon.Solon;
import org.noear.solon.SolonProps;

/**
 * 国米加密参数 系统参数
 *
 * @author 孙志阳
 * @date 2023-07-06
 * @since 1.0.0
 **/
public class Sm2Properties {


    private static final SolonProps props = Solon.cfg();

    /**
     * 是否启用
     */
    public static final boolean enabled = props.getBool("jinyu.sm.sm2.backend.enabled", false);
    public static final String privateKey = props.get("jinyu.sm.sm2.backend.privateKey", "");
    public static final String publicKey = props.get("jinyu.sm.sm2.backend.publicKey", "");

}
